package com.example.smart_home.pojo;

public class ServerResult {

    Integer stateCode;//0表示成功
    String msg;//是对状态的详细描述
    Object data;//

    public ServerResult(){}
    public ServerResult(Integer stateCode, String msg, Object data) {
        this.stateCode = stateCode;
        this.msg = msg;
        this.data = data;
    }

    public Integer getStateCode() {
        return stateCode;
    }

    public void setStateCode(Integer stateCode) {
        this.stateCode = stateCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

}
